<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>友情链接查看</title>
<link rel="stylesheet" href="${base}/images/contentImage/main.css" />
<link rel="stylesheet" type="text/css" href="${base}/js/uploadify/uploadify.css"/>
<link rel="stylesheet" href="${base}/css/validationEngine.jquery.css" type="text/css"/>

<script type="text/javascript" src="${base}/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="${base}/js/ajaxupload.js"></script>
<script type="text/javascript" src="${base}/js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="${base}/js/jquery.validationEngine-zh_CN.js"></script>
<script type="text/javascript" src="${base}/js/jquery.blockUI.js"></script>
<script type="text/javascript" src="${base}/js/My97DatePicker4_8/WdatePicker.js"></script>
<script type="text/javascript" src="${base}/js/lhgdialog/lhgdialog.min.js?self=true"></script>
<script type="text/javascript" src="${base}/js/uploadify/jquery.uploadify.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("input").attr("disabled","disabled");
	});
</script>
</head>

<body>
<input type="hidden" id="msg" name="msg" value="${msg!}"/>
<form action="${base!}/link/admin/saveLink.htm" method="post" id="tableForm" name="tableForm" >
	<input type="hidden" id="linkId" name="linkId" value="${link.linkId}"/>
	<table width="98%" border="0" cellspacing="1" cellpadding="2" class="border-t" style="border-left: 1px solid #bed3df; border-right: 1px solid #bed3df; margin: 0px auto;">
		<tbody>
			<tr>
				<td class="itemtit">链接名:</td>
				<td class="border_b">
					<input class="w150 validate[required]" type="text" name="linkName" value="${link.linkName}" />
				</td>
			</tr>
			<tr>
				<td class="itemtit">链接地址:</td>
				<td class="border_b">
					<input class="w150 validate[required,custom[url]]" type="text" name="linkUrl" value="${link.linkUrl}" />
				</td>
			</tr>
			<tr>
				<td class="itemtit">链接类型:</td>
				<td class="border_b">
					<select name="linkType" disabled>
						<option value="1" <#if link.linkType==1>selected</#if>>页面下方友情链接</option>
						<option value="2" <#if link.linkType==2>selected</#if>>QQ咨询链接</option>
					</select>
				</td>
			</tr>
			<tr>
				<td class="itemtit">链接图片:</td>
				<td class="border_b">
					<img src="${base!}${link.imageUrl}" alt="" />
				</td>
			</tr>
		</tbody>
	</table>
	</form>
</body>
</html>